@echo off
echo ========================================
echo 检查Chrome安装路径
echo ========================================
echo.

echo 检查常见Chrome安装路径...
echo.

if exist "C:\Program Files\Google\Chrome\Application\chrome.exe" (
    echo ✅ 找到Chrome: C:\Program Files\Google\Chrome\Application\chrome.exe
    set CHROME_PATH="C:\Program Files\Google\Chrome\Application\chrome.exe"
) else (
    echo ❌ 未找到: C:\Program Files\Google\Chrome\Application\chrome.exe
)

if exist "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" (
    echo ✅ 找到Chrome: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    set CHROME_PATH="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
) else (
    echo ❌ 未找到: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
)

if exist "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe" (
    echo ✅ 找到Chrome: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe
    set CHROME_PATH="C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe"
) else (
    echo ❌ 未找到: C:\Users\%USERNAME%\AppData\Local\Google\Chrome\Application\chrome.exe
)

echo.
echo 如果以上都显示 ❌，请手动查找Chrome安装路径
echo 或者尝试在开始菜单中右键点击Chrome图标，选择"打开文件位置"
echo.

pause
